using System;
using System.Collections.Generic;
using System.Text;

namespace SoccerEvaluator.Common
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public class TemplateScoreInfo
    {
        /// <summary>
        /// 
        /// </summary>
        public int TemplateId
        {
            get;
            set;
        }

        /// <summary>
        /// 
        /// </summary>
        public int Index
        {
            get;
            set;
        }       
        /// <summary>
        /// 
        /// </summary>
        public string Location
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public string Local
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public int LocalGoals
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public string Visitor
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>        
        public int VisitorGoals
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>        
        public DateTime Date
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>                
        public string Color
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public override string ToString()
        {
            return string.Format("{0,-10} - {1,-20} {2,-25}:{3}  {4,-25}:{5}", this.Date, this.Location, this.Local, this.LocalGoals, this.Visitor, this.VisitorGoals);
        }


    }
}
